<span jwcid="@CenteredMainBorder">

	<table width="600px">
	
	
	<tr><td height="36px">
		<span jwcid="editableHeader@EditableHTMLContent" value="ognl:homeHeader" saveListener="listener:saveHeaderSubmit" cols="80" rows="30" editing="ognl:editHeader" editable="ognl:isContentCreator()"/>
	</td></tr>
	
	<tr><td>
        
		<span jwcid="ErrorReporter@ErrorReporter" title="Errors" delegate="ognl:defaultDelegate"/> 
		<table class="HomeModuleList" width="100%">
			<tr>
		    <th colspan="2">Name</th><th>Description</th>
			<span jwcid="modulesFor@For" element="tr"  valign="middle" class="ognl:evenOdd.next" value="ognl:module" source="ognl:modules">
				<td width="1%"><span jwcid="moduleImage@Image" image="asset:moduleImage"/></td>
				<td width="33%">
				<a jwcid="viewEditModule@DirectLink" parameters="ognl:module.id" listener="listener:viewModule"><span jwcid="moduleNameInsert@Insert" value="ognl:module.name != null? module.name : module.deltaName"></span></a></td>
				<td><span jwcid="moduleDescriptionInsert@Insert" mode="ognl:@org.apache.tapestry.components.InsertMode@BREAK" value="ognl:module.name != null? module.description : module.deltaDescription"></span></td>
			</span>
	    
		</table>
	
	</td></tr>
	
	<span jwcid="ifIsUser@If" condition="ognl:isCmStaff() or isAdmin()">
	
	<tr><td>
	
		<div class="float-right">
		<table class="AdminTable">
		<tr><th colspan="2">BrainTrain Admin</th></tr>
		
		
		<!--  add a new module -->
		<span jwcid="ifIsCMStaff@If" condition="ognl:isCmStaff()">
			<tr><td>
			<span jwcid="addModuleDL@DirectLink" listener="listener:addModule">
		        <center><img jwcid="plusImage@Image" border="0" image='asset:addImage'/></center></span>
		    </td><td>
		    <span jwcid="addModuleDL2@DirectLink" listener="listener:addModule" nowrap>
		       Add Module
		    </span>
		    
	    	</td></tr>
	    </span>
	        
	    <!-- User Admin -->
	    
	    <span jwcid="ifIsAdmin@If" condition="ognl:isAdmin()">
	    
		    <tr><td>
		    
		     <span jwcid="userAdminPL@PageLink" page="UserAdmin">
		        <center><img jwcid="userImage@Image" border="0" image='asset:userImage'/></center></span>
		    </td><td>
		    <span jwcid="userAdminPL2@PageLink" page="UserAdmin" nowrap>
		       User Access
		    </span>
		    
		    </td></tr>
		    <tr><td>
		    
		    <span jwcid="emailAdminPL@PageLink" page="EmailAdmin">
		        <center><img jwcid="emailImage@Image" border="0" image='asset:emailEditImage'/></center></span>
		    </td><td>
		    <span jwcid="emailAdminPL2@PageLink" page="EmailAdmin" nowrap>
		       Email Admin
		    </span>
		    
			</td></tr>
			
		</span>
		
		</table>
		</div>	
	
	
	</td></tr>
	</span>
    <tr><td>
    <div class="float-right">
        <span jwcid="@Insert" value="ognl:applicationVersion"/>
    </div>
    </td></tr>
	</table>
	
 </span>
